home *** CD-ROM | disk | FTP | other *** search
/ Aminet 3 / Aminet 3 - July 1994.iso / Aminet / disk / misc / Mtools207.lha / Mtools-2.0.7 / docs / Mwrite.doc < prev   
Encoding:
Text File  |  1994-05-27  |  1.8 KB  |  56 lines

  1.  
  2. NAME
  3.        mwrite - low level write (copy) a Unix file to MSDOS
  4.  
  5. SYNOPSIS
  6.        mwrite [ -tnvm ] unixfile msdosfile
  7.  
  8.        mwrite [ -tnvm ] unixfile [ unixfiles... ] msdosdirectory
  9.  
  10. DESCRIPTION
  11.        In  the  first form, mwrite copies the specified Unix file
  12.        to the named MSDOS file.  The second form of  the  command
  13.        copies multiple Unix files to the named MSDOS directory.
  14.  
  15.        Mwrite will allow the following command line options:
  16.  
  17.        t      Text file transfer.  Mwrite will translate incoming
  18.               line feeds to carriage return/line feeds.
  19.  
  20.        n      No warning.  Mwrite will not  warn  the  user  when
  21.               overwriting an existing file.
  22.  
  23.        v      Verbose mode.  Display the new filename if the Unix
  24.               filename requires conversion.
  25.  
  26.        m      Preserve the file modification times.
  27.  
  28.        If the target file already exists, and the  -n  option  is
  29.        not in effect, mwrite asks whether or not to overwrite the
  30.        file.
  31.  
  32.        Reasonable care is taken to create a valid MSDOS filename.
  33.        If  an  invalid  name is specified, mwrite will change the
  34.        name (and display the new name  if  the  verbose  mode  is
  35.        set).
  36.  
  37.        MSDOS subdirectory names are are supported with either the
  38.        '/' or '\' separator.  The use of  the  '\'  separator  or
  39.        wildcards  will require the names to be enclosed in quotes
  40.        to protect them from the shell.
  41.  
  42.        The mcd command may be used to establish  the  device  and
  43.        the  current working directory (relative to MSDOS), other-
  44.        wise the default is A:/.
  45.  
  46.        Mwrite returns 0 on success, 1 on utter failure, or  2  on
  47.        partial failure.
  48.  
  49. SEE ALSO
  50.        mcd(1), mcopy(1), mread(1)
  51.  
  52. BUGS
  53.        Unlike  MSDOS,  the destination directory may not be omit-
  54.        ted.
  55.  
  56.